#!/usr/bin/perl
$a=<STDIN>;
$b=<STDIN>;
print $a*$b; 
print "\n";

